const app = getApp();
Page({
  data:{
  },
  chooseCity() {
    my.chooseCity({
      showLocatedCity: true,
      showHotCities: true,
      success: (res) => {
        console.log(res)
        this.setData({
            city:res.city, //选中城市名
            num:res.adCode //选中城市编号
        })
        my.alert({
          title: 'chooseAlipayContact response: ' + JSON.stringify(res),
        });
      },
    });
  },
});
